package oa.hleast.xswl.pojo.domain.clockin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

import java.math.BigDecimal;

/**
 * ums_clock_in
 *
 * @author 302
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("ums_clock_in")
public class UmsClockIn extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 打卡来源
     */
    private String sourceType;

    /**
     * 场所ID
     */
    private Long placeInfoId;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;


}